package vnreal.ZNEW.Xml;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class SNode {
	
	@XStreamAsAttribute
	private String coordinateX;
	@XStreamAsAttribute
	private String coordinateY;
	@XStreamAsAttribute
	private String id;
	
	private List<Resource> Resource;	
	
	public SNode() {
		this.Resource = new ArrayList<Resource>();
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCoordinateY() {
		return coordinateY;
	}
	public void setCoordinateY(String coordinateY) {
		this.coordinateY = coordinateY;
	}
	public String getCoordinateX() {
		return coordinateX;
	}
	public void setCoordinateX(String coordinateX) {
		this.coordinateX = coordinateX;
	}
	public List<Resource> getResource() {
		return Resource;
	}
	public void setResource(Resource resource) {
		this.Resource.add(resource);
	}
}
